﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;
using BrokerBase.Lib.Product;

namespace BrokerBase.Lib.Company
{
    /// <summary>
    /// 公司类别
    /// </summary>
    public enum CompanyType { Supplier = 0, Agent = 1 }

    /// <summary>
    /// 公司
    /// </summary>
    public interface ICompany:IPKItem
    {
        /// <summary>
        /// 类别
        /// </summary>
        CompanyType CompanyType { get; set; }
        /// <summary>
        /// 全称
        /// </summary>
        string FullName { get; set; }
        /// <summary>
        /// 公司主页
        /// </summary>
        string HomePage { get; set; }
        /// <summary>
        /// 服务电话
        /// </summary>
        string Telephone { get; set; }

        IList<IProduct> Products { get; set; }

    }
}
